import request from '@/utils/request'
import defaultSettings from '@/settings'

export const apiUrlConfig = {
    queryUrl: `${defaultSettings.ctx.cnapsApp}/bsPubliccontrol/ccpcMaintainByHand/CcpcMaintainApprove/search`,
}

// 审核接口
export function approve(data) {
  return request({
      url: `${defaultSettings.ctx.cnapsApp}/bsPubliccontrol/ccpcMaintainByHand/CcpcMaintainApprove/approve`,
      method: 'post',
      data: data
  })
}

// 拒绝接口
export function reject(data) {
  return request({
      url: `${defaultSettings.ctx.cnapsApp}/bsPubliccontrol/ccpcMaintainByHand/CcpcMaintainApprove/reject`,
      method: 'post',
      data: data
  })
}
